<?php 
	$category_name 	= $this->Item['category_name'];
	$created_by 	= $this->Item['created_by'];
	$created	 	= $this->Item['created'];
	$modified_by 	= $this->Item['modified_by'];
	$modified	 	= $this->Item['modified'];
	
	$status 		= $this->Item['status'];
	if($status == 0) {
		$status = 'Inactive';
	}else {
		$status = 'Active';
	}
	
	$order 			= $this->Item['order'];
	$type           = $this->Item['type'];
	
	if($type == 1){
		$type = 'Tour Trong Nước';
	}else {
		$type = 'Tour Nước Ngoài';
	}
	
	$menu    =  $this->Item['menu'];
	$strMenu = '';    
	foreach ($menu as $key => $value){
		if($key != 0) {
			$strMenu .= ', ' . $value['name'];
		}else{
			$strMenu .= $value['name'];
		}
	}
?>
<form name="appForm" method="post" action="">



                        <?php echo $this->render('admin-tour-category/toolbar/index.php')?>
                        <div class="clr"></div>
                         <?php echo $this->render('admin-tour-category/sublink/index.php')?>

                        <!-- BEGIN: CONTENT -->
                        <div id="element-box">
                            <div class="t">
                                <div class="t">
                                    <div class="t"></div>
                                </div>
                            </div>
                            <div class="m">
                                <!-- BEGIN: ELEMENT BOX -->
						<div id="adminfieldset">
                             <div class="adminheader">Item Detail</div>
								
								<div id="row">
                                    <div class="label">Category Name:</div>
                                    <?php echo $category_name;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Type:</div>
                                    <?php echo $type;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Menu:</div>
                                    <?php echo $strMenu;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Created by:</div>
                                    <?php echo $created_by;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Created:</div>
                                    <?php echo $created;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Modified by:</div>
                                    <?php echo $modified_by;?>			
                                </div>
                                <div class="clr"></div>
                                
                                  <div id="row">
                                    <div class="label">Modified:</div>
                                    <?php echo $modified;?>			
                                </div>
                                <div class="clr"></div>
                                
                                <div id="row">
                                    <div class="label">Status:</div>
                                    <?php echo $status;?>			
                                </div>
                                <div class="clr"></div>
                                
                                 <div id="row">
                                    <div class="label">Ordering:</div>
                                    <?php echo $order;?>			
                                </div>
                                <div class="clr"></div>
                                
							</div>
							
                                <!-- END: ELEMENT BOX -->	
                              <div class="clr"></div>
                            </div>
                            <div class="b">
                                <div class="b">
                                    <div class="b"></div>
                                </div>
                            </div>
                        </div>
                        <!-- END: 	CONTENT -->
                    </form>